package com.qf.service;

import com.qf.dao.UserDao;
import com.qf.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * created by 赵文韬 on 2022/3/4 14:25
 */
@Component
public class UserServiceImpl implements UserService {
    private UserDao userDao;
@Autowired
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public User getUser() {
        return userDao.getUser();
    }
}
